TOPDIR = /root/src/ccplayer

CC = gcc
AR = ar
INCS += -I$(TOPDIR)/include
LIBS += -L$(TOPDIR)/lib -lccp -lmad -lrt
CFLAGS = -Wall -g

%.o : %.c
	$(CC) $(INCS) $(CFLAGS) -c $< -o $@

